package com.micro.turtle.model;

import cn.hutool.core.annotation.Alias;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Git Group
 *
 * @author jason.lv
 * @since 2022/1/21 13:12
 */
@NoArgsConstructor
@Data
public class Group {

    @Alias("id")
    private Integer id;
    @Alias("web_url")
    private String webUrl;
    @Alias("name")
    private String name;
    @Alias("path")
    private String path;
    @Alias("description")
    private String description;
    @Alias("visibility")
    private String visibility;
    @Alias("share_with_group_lock")
    private Boolean shareWithGroupLock;
    @Alias("require_two_factor_authentication")
    private Boolean requireTwoFactorAuthentication;
    @Alias("two_factor_grace_period")
    private Integer twoFactorGracePeriod;
    @Alias("project_creation_level")
    private String projectCreationLevel;
    @Alias("auto_devops_enabled")
    private Object autoDevopsEnabled;
    @Alias("subgroup_creation_level")
    private String subgroupCreationLevel;
    @Alias("emails_disabled")
    private Object emailsDisabled;
    @Alias("mentions_disabled")
    private Object mentionsDisabled;
    @Alias("lfs_enabled")
    private Boolean lfsEnabled;
    @Alias("default_branch_protection")
    private Integer defaultBranchProtection;
    @Alias("avatar_url")
    private Object avatarUrl;
    @Alias("request_access_enabled")
    private Boolean requestAccessEnabled;
    @Alias("full_name")
    private String fullName;
    @Alias("full_path")
    private String fullPath;
    @Alias("created_at")
    private String createdAt;
    @Alias("parent_id")
    private Long parentId;
}
